﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace NextGenSystems.WHMCS
{
    [DataContract()]
    class GetTicketsRS : WHMCSBASE
    {
        
            private int _TotalResults;
            private int _StartNumber;
            private int _NumReturned;
            private List<Client> _Clients;


            [DataMember()]
            public List<Client> Clients
            {
                get { return _Clients; }
                set
                {
                    if (_Clients != value)
                    {
                        _Clients = value;
                    }
                }
            }

            [DataMember()]
            public virtual int TotalResults
            {
                get { return _TotalResults; }
                set
                {
                    if (_TotalResults != value)
                    {
                        _TotalResults = value;
                        NotifyPropertyChanged("TotalResults");
                    }
                }
            }

            [DataMember()]
            public virtual int StartNumber
            {
                get { return _StartNumber; }
                set
                {
                    if (_StartNumber != value)
                    {
                        _StartNumber = value;
                        NotifyPropertyChanged("StartNumber");
                    }
                }
            }

            [DataMember()]
            public virtual int NumReturned
            {
                get { return _NumReturned; }
                set
                {
                    if (_NumReturned != value)
                    {
                        _NumReturned = value;
                        NotifyPropertyChanged("NumReturned");
                    }
                }
            }
        }

    }

